package org.zn.etl.job.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.zn.etl.job.entity.po.JobGroupPo;

public interface JobGroupMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(JobGroupPo row);

    JobGroupPo selectByPrimaryKey(Integer id);

    List<JobGroupPo> selectAll();

    int updateByPrimaryKey(JobGroupPo row);
    
    /**
     * 名称查询
     */
    JobGroupPo selectByName(@Param("name") String name);
}